import { HttpRequest } from '@/shared/http/commonAxios'

export class UserApi {
	/**
	 * 获取表格
	 */
	static getTable(data) {
		return HttpRequest.get('/user/query', data)
	}

	/**
	 * 删除用户
	 */
	static deleteItem(data) {
		return HttpRequest.post('/user/delete', data)
	}

	/**
	 * 编辑用户
	 */
	static updateItem(data) {
		return HttpRequest.post('/user/update', data)
	}
}
